package cheme.ProcessEditor.Figures;

import org.eclipse.draw2d.ImageFigure;
import org.eclipse.swt.graphics.Image;

/**
 * A Figure that simply contains an Image. Use this Figure, instead of a Label,
 * when displaying Images without any accompanying text. This figure is not
 * intended to have a layout mananger or children.
 * <P>
 * Note that it is the client's responsibility to dispose the given image. There
 * is no "free" resource management in draw2d.
 */
public class ChemeImageFigure extends ImageFigure implements IChemeFigure
{
	public ChemeImageFigure()
	{
		super();
	}

	/**
	 * @param image
	 * @param alignment
	 */
	public ChemeImageFigure(Image image, int alignment)
	{
		super(image, alignment);
	}

	/**
	 * @param image
	 */
	public ChemeImageFigure(Image image)
	{
		super(image);
		
	}
}
